package com.qf.office.admin.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.util.Date;
import lombok.Data;

/**
 * 工作经历表
 */
@Data
@TableName(value = "work_experience")
public class WorkExperience {
    /**
     * 工作经历ID
     */
    @TableId(value = "work_experience_id", type = IdType.INPUT)
    private Integer workExperienceId;

    /**
     * 候选人id
     */
    @TableField(value = "candidate_id")
    private Integer candidateId;

    /**
     * 公司名称
     */
    @TableField(value = "company_name")
    private String companyName;

    /**
     * 职位
     */
    @TableField(value = "job_title")
    private String jobTitle;

    /**
     * 入职时间
     */
    @TableField(value = "entry_time")
    private Date entryTime;

    /**
     * 离职时间
     */
    @TableField(value = "resignation_time")
    private Date resignationTime;

    /**
     * 工作时长
     */
    @TableField(value = "working_hours")
    private String workingHours;

    /**
     * 工作描述
     */
    @TableField(value = "job_description")
    private String jobDescription;

    /**
     * 工作成果
     */
    @TableField(value = "working_achievement")
    private String workingAchievement;

    /**
     * 创建时间
     */
    @TableField(value = "create_time")
    private Date createTime;

    /**
     * 0正常 1删除
     */
    @TableField(value = "del_status")
    private Integer delStatus;

    public static final String COL_WORK_EXPERIENCE_ID = "work_experience_id";

    public static final String COL_CANDIDATE_ID = "candidate_id";

    public static final String COL_COMPANY_NAME = "company_name";

    public static final String COL_JOB_TITLE = "job_title";

    public static final String COL_ENTRY_TIME = "entry_time";

    public static final String COL_RESIGNATION_TIME = "resignation_time";

    public static final String COL_WORKING_HOURS = "working_hours";

    public static final String COL_JOB_DESCRIPTION = "job_description";

    public static final String COL_WORKING_ACHIEVEMENT = "working_achievement";

    public static final String COL_CREATE_TIME = "create_time";

    public static final String COL_DEL_STATUS = "del_status";
}